package strategy;

/**
 * @program: javase
 * @description:
 * @author: luolidong
 * @create: 2021-07-02 10:47
 * @version: 1.0
 */
public class Pay {
    private IPayment iPayment;

    public Pay(IPayment iPayment) {
        this.iPayment = iPayment;
    }
    public void doPay(){
       iPayment.pay();
    }
}
